package com.aster.service.manage.service;

import com.aster.common.base.BaseService;
import com.aster.common.dto.UserToken;
import com.aster.common.exception.ServiceException;
import com.aster.common.utils.PageUtils;
import com.aster.service.manage.domain.TbEscortUserLabelInfo;
import com.aster.service.manage.service.criteria.EscortUserInfoCriteria;

/**
 * 
 * <br>
 * <b>功能：</b>TbEscortUserLabelInfoService<br>
 */
public interface EscortUserLabelInfoService extends BaseService {

    /**
     * 根据条件查询陪护员信息
     * @param criteria
     * @return
     */
    PageUtils getEscortUserLabelInfoForPage(EscortUserInfoCriteria criteria);

    /**
     * 添加陪护员信息
     * @param tbEscortUserLabelInfo 陪护员标签信息数据库模型
     */
    void addEscortUserLabelInfo(TbEscortUserLabelInfo tbEscortUserLabelInfo, UserToken userToken) throws ServiceException;

    /**
     * 编辑陪护员信息
     * @param tbEscortUserLabelInfo 陪护员标签信息数据库模型
     * @param userToken
     * @throws ServiceException
     */
    void editEscortUserLabelInfo(TbEscortUserLabelInfo tbEscortUserLabelInfo, UserToken userToken) throws ServiceException;

    TbEscortUserLabelInfo selectByOne(Object id);

    void deleteByEscortUserIdAndEnterpriseId(Object object);
}
